home *** CD-ROM | disk | FTP | other *** search
- Filename HSTERROR.DOC
- Documentname Host Errors v1.0
- Contents Description of possible host errors during calculation.
- By FP
- Date 22/1 95
-
-
- Introduction
- Whenever an error occurs during calculation, this error is reported on
- screen (allthough only for a few seconds unless hosted externally), and the
- host error number is written in the HSTERROR.LOG which is placed in the
- game directory. The log file is a simple textfile that can be view by typing
- the DOS-command TYPE HSTERROR.LOG or by using a textviewer like the DOS
- EDIT command.
-
- There are a few types of host error commands. They occur during a specific
- time during the calculation.
-
-
- HOST file authentity errors.
- ----------------------------
-
- Whenever the host accesses the harddisk to get information from a file, it
- checks the severel things to make sure that it is the right file it has its
- hands on. The GameID is construction from the time and date when the game
- was initialized, the versionnumber tells the host which recordlayout to use
- and also the turn number is checked to ensure that it is the right turnfile.
- Errors that occur because of these checks, are both sent to player and to
- the host, but the calculation is not stopped. If you want that you must make
- your own external checks before trying to host.
-
-
- Errortext sent to players
-
- 1 Last turnfile was an old turnfile and could not be used.
- 2 Wrong game uploaded. Pollux cannot use another games data in this game!
- 3 Last turn your file was missing, and could not be calculated.
-
-
- Errortext sent to host
-
- 1 Old turn x file from player x
- 2 Player x uploaded turn for other game
- 3 Missing player x's turn !
-
-
- HOST Loading player commands
- ----------------------------
-
- When the hosts needs to know what the players have been doing the last
- round, it reads the PLAYERx.GUE file and executes the commands in this file.
- Using the document (GUECOMS.DOC coming soon..) it is actually possible to
- make your own userinterface. Any errors while executing these commands is
- reported in HSTERROR.LOG
-
- The procedure that takes care of loading the commands for the host are also
- used when you have played your turn and afterwards wants to reenter and
- change something. This ensures that the data you have next time, is the
- exact same data the host will know.
-
- There are no checking on record stability. If an unstability occurs, Pollux
- might die, for a while...
-
- Oh, about the weird errorcode numbering, I have a system in there somewhere..
-
- Error code Reason
- 10 Planetnumber has not been initialized. This would be a bug in
- the GUE file. You should play your turn again and try again.
-
- 20..24 Same as 10.
-
- 25 Either planetnumber has not been initialized or you could not
- affort the price of the defenseposts you wanted to buy.
-
- 26..27
- 30 Same as 10.
-
- 31 Number of energytype or requested supply not within legal limits.
-
- 32 Number of allocationtype or requested allocation not within
- legal limits.
-
- 33 Unknown tradeitem or requested trade support not within limits.
-
- 40 Same as 10.
- 4001 Lifesupport problems. Not enough iron or supplies for the
- requested life support.
-
- 41 Planetnumber has not been initialized or unknown colonyitem.
- 4101 Not enough iron or supplies to build colonyitem. A Colonyitem
- is fx the University, the Administration etc.
-
- 42 Planetnumber has not been initialized or unknown system-
- improvement.
- 4201 Not good enough science, not enough cash or not enough supplies.
-
- 43 Same as 10.
-
- 44 Planetnumber not initialized or AUTOChap value not within limits.
-
- 60 Planet not owned by player and shipbuilding not possible, or
- not enough cash to buy shiphulltype.
- 6001 Unknown weapontype, not enough cash to build the weapon or
- not good enough sciencelevels.
- 6002 Ship cargobay not within limits.
- 6003 Unknown equipmenttype, not enough cash to build the equipment or
- not good enough sciencelevels.
-
- 61 Ship not owned by requesting player !
-
- 63 Unknown weapontype, not enough cash to build the weapon or
- not good enough sciencelevels.
- 6301 Not enough rawmaterials or not enough cash for weapon.
-
- 64 Unknown equipmenttype, not enough cash to build the equipment or
- not good enouh sciencelevels.
- 6401 Not enough rawmaterials or not enough cash for weapon.
-
- 70 Player tried to give civil orders to a ship not owned by player.
-
- 71 Player tried to give civil orders to a ship not owned by player.
-
- 72 Player tried to load or dump waste on/from ship not owned by
- player. Who are you playing with ?????
- 7201 Not enough room on ship for waste or not enough waste on planet.
-
- 73 Player tried to load or dump waste on/from shipnot owned by
- player. Tough guy!
- 7301 No room on ship, no ground forces available, enemy planet.
-
- 74 No ship or ship not in orbit or ship not belonging to player or
- unknown tradeitem or no massdriver present (needed for trade).
- 7401 Not enough cash to pay for tradinggoods or not enough room on
- players tradingship.
- 7402 Lack of trading goods. Trying to load to many on ship. Error
- can occur if two players try to load the same goods. No measures
- have been taken for this event. The first ship to load will win
- the trade.
-
- 75 Player is trying to give away a ship that the players does not
- own.
-
- 76 Trying to put transmuting code on ship not owned by player or
- the code itself is not within limits 49-56
-
- 77 No ship was specified for bachyonship, must be gue file probs.
-
- 78 Trying to repair ship that is not damage ?
-
- 80 Trying to set shipcoordinates on ship not owned by player.
-
- 81 Changing speed on ship not belonging to player or changing to
- speed not yet invented by player !
-
- 82 Putting cargo on ship not owned by player.
- 8201 Not enough room on ship, or not enough planetstock
-
- 83 Shipnr out of range.
-
- 100 Unknown sciencegroup or relative percent not within limits.
-
- 130 Unknown leader or leaderposition.
- 13001 Not enough cash to bribe senator.
-
-
- Other errorcodes can occur if file is corrupt, these will also be written.
- Corrupt file errorcodes can generate errors with no meaning.
-
-